package net.sourceforge.peertwitter.core.applications.communication;

import net.sourceforge.peertwitter.chain.EventChain;
import net.sourceforge.peertwitter.core.applications.communication.messaging.ReliableMessage;
import net.sourceforge.peertwitter.core.events.Event;
import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.Message;

public interface MBGroupCommunication extends EventChain <Event> {
	public abstract void join(Id group);

	public abstract void leave(Id group);
	
	public abstract void sendReliable(Id group, ReliableMessage message);

	public abstract void send(Message message);
}
